<template>
	<h2>{{ msg }}</h2>
	<button @click="msg = msg.split('').reverse().join('')">逆转世界</button>
</template>

<script setup>
import { ref } from 'vue'
const msg = ref('Hello,World')
let a = 'abc'
console.log(a.split('').reverse().join(''))

</script>

<style scoped>
</style>